<{include file="header.tpl"}>
<!-- Start: Main -->
<div id="main">
    <{include file="sidebar.tpl"}>
    <!-- Start: Content -->
    <section id="content">
        <div id="topbar" class="affix">
            <ol class="breadcrumb">
                <li><a href="index.php"><span class="glyphicon glyphicon-home"></span></a></li>
                <li class="active">添加案例</li>
            </ol>
        </div>
        <div class="container">

            <div class="row">
                <div class="col-md-10 col-lg-8 center-column">
                    <form action="case_add.php" method="post" class="cmxform" enctype="multipart/form-data">
                        <div class="panel">
                            <div class="panel-heading">
                                <div class="panel-title">添加案例</div>
                                <div class="panel-btns pull-right margin-left">
                                    <a href="case_list.php" class="btn btn-default btn-gradient dropdown-toggle"><span
                                                class="glyphicon glyphicon-chevron-left"></span></a>
                                </div>
                            </div>
                            <div class="panel-body">
                                <div class="col-md-7">

                                    <div class="form-group">
                                        <div class="input-group"><span class="input-group-addon">所属分类</span>
                                            <select name="case_type" class="form-control">
                                                <option
                                                        value="1">企业品牌网站</option>
                                                <option
                                                        value="2">电子商务网站</option>
                                                <option
                                                        value="3">门户型网站</option>
                                                <option
                                                        value="4">管理系统</option>
                                                <option
                                                        value="5">团购</option>
                                            </select>
                                        </div>
                                    </div>
                                    <div class="form-group">
                                        <div class="input-group"><span class="input-group-addon">案例名称</span>
                                            <input type="text" name="title" value="" class="form-control" id="title">
                                        </div>
                                    </div>
                                    <div class="form-group">
                                        <div class="input-group"> <span class="input-group-addon">简介</span>

                                            <textarea name="intro" class="form-control"  cols="30" rows="5" maxlength="250"></textarea>
                                        </div>
                                    </div>
                                    <div class="form-group">
                                        <div class="input-group"><span class="input-group-addon">网址</span>
                                            <input type="text" name="url" value="" class="form-control" id="url">
                                        </div>
                                    </div>
                                    <div class="form-group">
                                        <div class="input-group"><span class="input-group-addon">是否显示</span>
                                            <span class="isdisplay">
                                                是<input type="radio" name="isdisplay" value="1" class="yes" checked="checked">
                                                否<input type="radio" name="isdisplay" value="0" class="">
                                            </span>
                                        </div>
                                    </div>
                                    <div class="form-group">
                                        <input type="file" name="photo" />
                                    </div>
                                </div>
                                <div class="form-group col-md-12">
                                    <script type="text/plain" id="myEditor" style="width:100%;height:200px;">
                            <p></p>

                                    </script>
                                </div>
                                <div class="col-md-7">
                                    <div class="form-group">
                                        <input type="submit" value="提交" name="dosubmit" class="submit btn btn-blue">
                                    </div>
                                </div>
                            </div>
                        </div>
                    </form>
                </div>
            </div>
    </section>
    <!-- End: Content -->
</div>
<!-- End: Main -->
<link type="text/css" rel="stylesheet" href="umeditor/themes/default/_css/umeditor.css">
<script src="umeditor/umeditor.config.js" type="text/javascript"></script>
<script src="umeditor/editor_api.js" type="text/javascript"></script>
<script src="umeditor/lang/zh-cn/zh-cn.js" type="text/javascript"></script>
<script type="text/javascript">
    var ue = UM.getEditor('myEditor', {
        autoClearinitialContent: false,
        wordCount: false,
        elementPathEnabled: false,
        initialFrameHeight: 300
    });
</script>
</body>

</html>